package com.cskaoyan.mall.service;

import com.cskaoyan.mall.model.sql.Admin;
import com.cskaoyan.mall.model.sql.Result;
import com.cskaoyan.mall.model.bo.*;

import java.util.List;

public interface AdminService {

    List<Admin> allAdmins();

    Admin login(AdminLoginBO loginBO);

    void addAdminss(AdminAddBO addBO);

    void deleteAdmins(String id);

    Admin getAdminsInfo(String id);

    void updateAdminss(Admin changeBO);

    Result changePwd(AdminChangePwdBO changePwdBO);

    List<Admin> getSearchAdmins(AdminSearchBO searchBO);
}
